package kin.annotation.system;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import javax.validation.Constraint;

@Target(value = ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)

@Inherited
public @interface Button {
    
	String label();
	
	boolean renderToList() default true;   //是否在列表页面显示button
	boolean renderToActionColumn() default false; //是否在列表页面的每一行的操作栏显示button
	
    int sort() default 0;
	
	
	
}
